//
//  PesoKit.h
//  Peso Guide
//
//  Created by macbook on 2025/6/5.
//

#import <Foundation/Foundation.h>
#import "BaseTableView.h"

NS_ASSUME_NONNULL_BEGIN

@interface PesoKit : NSObject

+ (UILabel *)createLabelWithFrame:(CGRect)frame backGroundColor:(UIColor *)backGroundColor text:(NSString *)text textColor:(UIColor *)textColor font:(UIFont *)font;

+ (UIButton *)createButtonWithFrame:(CGRect)frame backGroundColor:(UIColor *)backGroundColor title:(NSString *)title titleColor:(UIColor *)titleColor font:(UIFont *)font;

+ (UIView *)createViewWithFrame:(CGRect)frame backGroundColor:(UIColor *)backGroundColor;

+ (UITextField *)createTextFieldWithFrame:(CGRect)frame backGroundColor:(UIColor *)backGroundColor text:(NSString *)text textColor:(UIColor *)textColor font:(UIFont *)font placeholder:(NSString *)placeholder;

+ (UIScrollView *)createScrollViewWithFrame:(CGRect)frame backGroundColor:(UIColor *)backGroundColor;

+ (UIImageView *)createImageViewWithFrame:(CGRect)frame imageNamed:(NSString *)imageNamed;

+ (BaseTableView *)createTableViewWithFrame:(CGRect)frame backGroundColor:(UIColor *)backGroundColor;

+ (BaseTableView *)createTableViewWithFrame:(CGRect)frame backGroundColor:(UIColor *)backGroundColor style:(UITableViewStyle )style;

@end

NS_ASSUME_NONNULL_END
